﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="updateQuyenLevel.ascx.cs" Inherits="UserControl_Role_updateQuyenLevel" %>
<table cellspacing="0" cellpadding="2" width="100%" class="cssTable" >
    <tr>
		<td align="left" class="HeadingTree" colSpan="2">Gán Level và Chức năng cho Quyền hạn</td>
	</tr>
	<tr>
		<td colSpan="2">
		    <asp:validationsummary id="vdsQuyen" runat="server" CssClass="cssManField" Font-Bold="True" />
		    <asp:label id="lblMess" runat="server" CssClass="cssManField" />
		</td>
	</tr>
	<tr>
		<td align="right" style="width:10%;">
		    <asp:label id="lblNhomID" runat="server" CssClass="cssManField" Text="<U>Q</U>uyền :" />
		</td>
		<td align="left" >
		    <asp:DropDownList id="ddlNhomID" runat="server" AutoPostBack="true" 
                onselectedindexchanged="ddlNhomID_SelectedIndexChanged"/>
		</td>
	</tr>
	<tr>
	    <td align="right" style="width:10%;"  valign="top">
	        <asp:label id="lblLevel" runat="server" CssClass="cssLabel" Text="<U>L</U>evel:" />
		</td>
		<td align="left" valign="top" >
		    <table cellspacing="0" cellpadding="0" >
		        <tr>
		            <td style="width:240px;" >
		                <asp:ListBox ID="uxListLevelBoxLeft" runat="server" SelectionMode="multiple" Rows="9" Width ="100%" />
		            </td>
		            <td style="width:26px;" align="center" >
		                 <table cellspacing="0" cellpadding="0" style="width:22px;" align="center" >
		                    <tr>
		                        <td >
                                    <asp:ImageButton id="uxLevelRightBtn" ImageUrl="~/images/ListTran/right.gif" 
                                        Height="19" Width="19" runat="server" onclick="uxLevelRightBtn_Click" />
                                </td>
                            </tr>
                            <tr>
		                        <td >
                                    <asp:ImageButton id="uxLevelRightAllBtn" 
                                        ImageUrl="~/images/ListTran/rightAll.gif" Height="19" Width="19" runat="server" 
                                        onclick="uxLevelRightAllBtn_Click" />
                                </td>
                            </tr>
                            <tr>
		                        <td style="height:14px;" ></td>
		                    </tr>
                            <tr>
		                        <td >
                                    <asp:ImageButton id="uxLevelLeftBtn" ImageUrl="~/images/ListTran/left.gif" 
                                        Height="19" Width="19" runat="server" onclick="uxLevelLeftBtn_Click" />
                                </td>
                            </tr>
                            <tr>
		                        <td >
                                    <asp:ImageButton id="uxLevelLeftAllBtn" ImageUrl="~/images/ListTran/leftALl.gif" Height="19" Width="19" runat="server" onclick="uxLevelLeftAllBtn_Click" />
                                </td>
                            </tr>
                        </table>  
                    </td>
                    <td style="width:240px;" >
                        <asp:ListBox ID="uxListLevelBoxRight" runat="server" SelectionMode="multiple" Rows="9" Width ="100%" />
                    </td>
	            </tr>
            </table>
        </td>
	</tr>
	<tr>
	    <td align="right" style="width:10%;" valign="top">
	        <asp:label id="lblChucNang" runat="server" CssClass="cssLabel" Text="C<U>h</U>ức năng:" />
		</td>
		<td align="left" valign="top" >
		    <table cellspacing="0" cellpadding="0" >
		        <tr>
		            <td style="width:240px;" >
		                <asp:ListBox ID="uxListChucNangBoxLeft" runat="server" SelectionMode="multiple" Rows="9" Width ="100%" />
		            </td>
		            <td style="width:26px;" align="center" >
		                 <table cellspacing="0" cellpadding="0" style="width:22px;" align="center" >
		                    <tr>
		                        <td >
                                    <asp:ImageButton id="uxChucNangRightBtn" ImageUrl="~/images/ListTran/right.gif" 
                                        Height="19" Width="19" runat="server" onclick="uxChucNangRightBtn_Click" />
                                </td>
                            </tr>
                            <tr>
		                        <td >
                                    <asp:ImageButton id="uxChucNangRightAllBtn" 
                                        ImageUrl="~/images/ListTran/rightAll.gif" Height="19" Width="19" runat="server" 
                                        onclick="uxChucNangRightAllBtn_Click" />
                                </td>
                            </tr>
                            <tr>
		                        <td style="height:14px;" ></td>
		                    </tr>
                            <tr>
		                        <td >
                                    <asp:ImageButton id="uxChucNangLeftBtn" ImageUrl="~/images/ListTran/left.gif" 
                                        Height="19" Width="19" runat="server" onclick="uxChucNangLeftBtn_Click" />
                                </td>
                            </tr>
                            <tr>
		                        <td >
                                    <asp:ImageButton id="uxChucNangLeftAllBtn" 
                                        ImageUrl="~/images/ListTran/leftALl.gif" Height="19" Width="19" runat="server" 
                                        onclick="uxChucNangLeftAllBtn_Click" />
                                </td>
                            </tr>
                        </table>  
                    </td>
                    <td style="width:240px;" >
                        <asp:ListBox ID="uxListChucNangBoxRight" runat="server" SelectionMode="multiple" Rows="9" Width ="100%" />
                    </td>
	            </tr>
            </table>
        </td>
	</tr>
	<tr>
	    <td ></td>
	    <td valign="top" style="height:200px;">
	        <asp:button id="btnUpdate" accessKey="c" runat="server" CssClass="cssButton" Width="98px" Text="Cập nhật(c)" OnClick="btnUpdate_Click" />&nbsp;
		    <asp:button id="btnCancel" accessKey="r" runat="server" CssClass="cssButton" Width="98px" Text="Xóa trắng(r)" OnClick="btnCancel_Click" />
	    </td>
	</tr>
</table>